
package com.probiz.estore.customer.dao;

import com.probiz.estore.common.model.customer.ShopPointHistory;
import com.probiz.estore.core.dao.GenericDao;

/**
 * ShopPointHistory Data Access Object (DAO) interface. Developer introduced
 * interfaces should be declared here. Won't get overwritten.
 */
public interface ShopPointHistoryDao extends GenericDao<ShopPointHistory> {
	/**
	 * 根据客户id，积分类型和发起的实体id获得积分历史信息
	 * @param customerId
	 * @param type
	 * @param entityId
	 * @return
	 */
	public ShopPointHistory getByCustomerIdAndTypeAndEntityId(Integer customerId,Short type,Integer entityId);
}
